TwoFA\Controllers\Twofa\Mo_2f_Ajax A

Total Complexity 64
Dependencies 8
Dependents 1
Total lines 259
Lines of code 189
Logical lines of code 140
Comment lines 55
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
mo2f_validate_google_authenticator()
B
40 16 57
mo_two_factor_ajax()
A
51 9 26
mo2f_set_ga()
A
49 9 26
mo2f_google_auth_set_transient()
A
56 8 16
mo2f_set_otp_over_sms()
S
51 7 22
mo2f_set_otp_over_whatsapp()
S
51 7 22
mo2f_ajax_login_redirect()
S
64 4 8
mo2f_enable_twofactor_userprofile()
S
74 2 4
__construct()
S
75 1 4
mo_2f_two_factor()
S
75 1 4